//
//  KKComHttp.h
//  DoMi
//
//  Created by 康凯 on 2016/12/2.
//  Copyright © 2016年 kk. All rights reserved.
//

#import "KKBaseHttp.h"

@interface KKComHttp : KKBaseHttp
//写文章
+(void)publishArticle:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//编辑文章
+(void)modifyArticle:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//文章上移
+(void)upMoveArticle:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//文章下移
+(void)downMoveArticle:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//文章下移
+(void)delArticle:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//文章列表
+(void)getArticleList:(NSString *)page success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//文章详情
+(void)articleDetail:(NSString *)docId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//文章详情信息
+(void)articleDetailInfo:(NSString *)docId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//发布文章
+(void)commitPublishArticle:(NSString *)docId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//相关文章
+(void)getRelateArticleList:(NSString *)docId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//文章视频投诉
+(void)commitComplain:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//提问回答列表
+(void)getQuestionList:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//提问回答详情点赞
+(void)questionLike:(NSString *)respondId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//提问回答详情采纳
+(void)questionAdopt:(NSString *)respondId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//提问回答详情
+(void)getQuestionDetail:(NSString *)questionId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//专家咨询列表
+(void)getAdviceList:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//专家咨询item
+(void)getAdviceItem:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//专家详情
+(void)getExpertDetail:(NSString *)expertId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//专家简介
+(void)getExpertIntro:(NSString *)expertId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//专家文章
+(void)getExpertArticle:(NSString *)expertId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//申请专家进度
+(void)applyExpertProgress:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//申请专家预约
+(void)applyExpertTime:(NSString *)time success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//修改申请专家预约时间
+(void)modifyApplyExpertTime:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//提交咨询评价
+(void)commitAdviceComment:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//咨询投诉信息
+(void)getAdviceComplainInfo:(NSString *)consultId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//提交咨询投诉
+(void)commitAdviceComplain:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//向专家咨询
+(void)adviceToExpert:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//专家回答
+(void)expertAnswer:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//咨询详情
+(void)getAdviceDetail:(NSString *)consultId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//咨询支付
+(void)advicePay:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;

//写提问
+(void)addQuestion:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//编辑提问
+(void)modifyQuestion:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//上移提问
+(void)upMoveQuestion:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//下移提问
+(void)downMoveQuestion:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//删除提问
+(void)delQuestion:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//提问内容列表
+(void)getQuestionContentList:(NSString *)questionId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//发布悬赏
+(void)publishQuestion:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//参与悬赏权限检测
+(void)questionCheck:(NSString *)questionId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//参与悬赏
+(void)joinQuestion:(NSDictionary *)params success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//分享文章回调
+(void)shareArticleCallBack:(NSString *)articleId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//文章点赞
+(void)commitArticleLike:(NSString *)articleId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//标签列表
+(void)getLabelList:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
//听语音
+(void)playRecorder:(NSString *)consultId success:(void(^)(id data))success failure:(void(^)(NSError *error))failure;
@end
